From 0d2d3b7a87cde87b2c06e810e6813747950bf4fe Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 16 Feb 2004 18:20:31 +0000 Subject: [PATCH] (Man-fontify-manpage): Render section headings in `Man-overstrike-face' even when overstrike was not used by man formatter for section headings. --- lisp/man.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/man.el b/lisp/man.el index faf153bc4c4..0e665af723e 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -801,6 +801,11 @@ Same for the ANSI bold and normal escape sequences." ;; Try to recognize common forms of cross references. (Man-highlight-references) (Man-softhyphen-to-minus) + (goto-char (point-min)) + (while (re-search-forward Man-heading-regexp nil t) + (put-text-property (match-beginning 0) + (match-end 0) + 'face Man-overstrike-face)) (message "%s man page formatted" Man-arguments)) (defun Man-highlight-references () -- 2.30.2